#include <stdio.h>
#include <vector>
#include <string>

using namespace std;

vector<string> fizzBuzz (int n) {
  auto result = vector<string>(n);
  int index = 0;

  for (int i = 1; i <= n; i++) {
    if (i % 3 == 0 && i % 5 == 0) {
      result[index++] = "FizzBuzz";
    } else if (i % 3 == 0) {
      result[index++] = "Fizz";
    } else if (i % 5 == 0) {
      result[index++] = "Buzz";
    } else {
      result[index++] = to_string(i);
    }
  }

  return result;
}

int main () {
  auto r = fizzBuzz(15);
  printf("%s \n", r[0].c_str());
}